﻿using System;
using System.Collections.Generic;
using System.Text;
using Com.AAS.Common.EventHandler;
using Com.AAS.Common.Queue;

namespace Com.AAS.Common.Manager
{
    public class NoticeHandler : QueueHandler<Object[]>
    {
        public event NotifyArgsEventHandler OnNotifyEvent;


        public void OnProducter(Object[] args)
        {
            this.Put(args);
        }

        protected override void OnProcess(object[] item)
        {
            if (OnNotifyEvent != null)
            {
                OnNotifyEvent(this, item);
            }
        }
    }

}
